package com.zackratos.navbarexist.navbarexist

import android.content.Context
import android.content.res.Configuration

/**
 * @Author   : zackratos
 * @Date     : 2021/8/28 1:10 下午
 * @email    : zhangwenchao@soulapp.cn
 * @Describe :
 */
// 是否横屏
internal val Context.landscape: Boolean
    get() = resources.configuration.orientation == Configuration.ORIENTATION_LANDSCAPE